class XmmApis {
  static const String host = "http://test-app.bigegg.work";

  //Config接口
  static const String getConfig = "$host/config/getAppConfig";

  //融云token接口
  static const String getRongCloudToken = "$host/user/rongcloud/token";

  //登录接口
  static const String oauth = "$host/security/oauth";

  //退出登录接口
  static const String logout = "$host/security/logout";

  //删除账号接口
  static const String deleteAccount = "$host/user/deleteAccount";

  //Token校验接口
  static const String isValidToken = "$host/security/isValidToken";

  //策略接口
  static const String getStrategy = "$host/config/getStrategy";

  //主播墙接口-获取A面模拟的用户资料
  static const String wallSearch = "$host/broadcaster/wall/search";

  //获取oos上传权限
  static const String ossPolicy = "$host/user/oss/policy";

  //用户信息接口
  static const String getUserInfo = "$host/user/getUserInfo";

  //用户信息保存接口
  static const String saveUserInfo = "$host/user/saveUserInfo";

  //调用更新头像接口
  static const String updateAvatar = "$host/user/updateAvatar";

  //关注接口
  static const String addFriend = "$host/user/addFriend";

  //取消关注
  static const String unfriend = "$host/user/unfriend";

  //举报/拉黑接口
  static const String insertRecord = "$host/report/complain/insertRecord";

  //移除黑名单
  static const String removeBlock = "$host/report/complain/removeBlock";

  //获取屏蔽列表接口
  static const String blockList = "$host/report/complain/blockList";

  //获取关注列表接口
  static const String getFriendsListPage = "$host/user/getFriendsListPage";

  //充值商品列表
  static const String coinGoodsSearch = "$host/coin/goods/search";

  //创建充值订单接口
  static const String coinRechargeCreate = "$host/coin/recharge/create";

  //验单接口
  static const String coinRechargePayment = "$host/coin/recharge/payment/ipa";

  //金币消耗接口
  static const String reviewModeConsume = "$host/coin/reviewModeConsume";

  //批量获取媒体资源接口
  static const String shortLinkMediaSearch = "$host/shortLink/media/search";

  //翻译
  static const String translate = "https://translation.googleapis.com/language/translate/v2";

  //log上报
  static const String logReport = "https://log.bigegg.work/log/live-chat";

  static bool isAuthorization(String path) {
    if (getConfig.contains(path) || oauth.contains(path)) {
      return false;
    }
    return true;
  }
}
